<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:39:"../template/wap/default/user/login.html";i:1583543950;s:62:"/www/wwwroot/schoolnx.nxers.com/template/wap/default/base.html";i:1583650542;}*/ ?>
<!DOCTYPE html><html lang="zh-cn"><head>    <meta charset="utf-8">    <?php if($title): ?>    <title><?php echo $title; ?></title>    <?php else: ?>    <title><?php echo config('website.site_title'); ?></title>    <?php endif; ?>    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />    <meta name="keywords" content="<?php echo config('website.site_keywords'); ?>">    <meta name="description" content="<?php echo config('website.site_description'); ?>">    <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css">    <link rel="stylesheet" type="text/css" href="/static/libs/layui/css/layui.css">    <link type="text/css" rel="stylesheet" href="/static/libs/hui/css/hui.css" />    <link type="text/css" rel="stylesheet" href="/static/libs/hui/css/mobile.css" />    </head><body>
<header class="hui-header">
    <div id="hui-back"></div>
    <h1 style="color:#3f3f3f">登录系统</h1>
    <div id="hui-header-menu"  onclick="hui.showSlideMenu();"></div>
</header>
<div class="hui-wrap">
    <form action="<?php echo url('index/user/login'); ?>" class="layui-form" method="post">
        <div style="margin:20px 10px; margin-bottom:15px;" class="hui-form" id="form1">
            <div class="hui-form-items">
                <div class="hui-form-items-title">用户名</div>
                <input type="text" name="username" class="hui-input hui-input-clear" placeholder="请输入登录账号或手机号码" />
            </div>
            <div class="hui-form-items">
                <div class="hui-form-items-title">登录密码</div>
                <input type="password" name="password" class="hui-input hui-pwd-eye" placeholder="登录密码6到20位"/>
            </div>
            <div class="hui-form-items" style="padding: 4px 0px 0px 10px">
                <div class="hui-form-items-title mt10">验证码</div>
                <input type="text" class="hui-input mt10" name="captcha" value="" />
                <div style="width:240px;height:45px;">
                    <img  src="<?php echo url('admin/index/captcha'); ?>" onclick="this.src='<?php echo url('admin/index/captcha'); ?>?rand='+Math.random()" />
                </div>
            </div>
        </div>
        <div class="hui-fr">
            <div class="mr12"><a href="<?php echo url('index/user/findpass'); ?>" class="c-f662f font-12">忘记密码?</a></div>
        </div>
        <div style="padding:10px; padding-top:10px;margin-top:60px;">
            <button type="button" class="hui-button hui-button-large hui-primary" id="submit" lay-submit="" lay-filter="*">立即登录</button>
        </div>
        <?php if(config('QQ_Login') or config('app_weixin_appid')): ?>
        <div class="other-login tlc mt20" style="line-height: 40px">
            <?php if(config('app_weixin_appid')): ?>
            <a href="<?php echo url('api/Author/appLogin'); ?>" id="wechat" style="color: #00CC00;"><i style="font-size: 40px" class="layui-icon layui-icon-login-wechat login-icon"></i></a>
            <?php endif; if(config('QQ_Login')): ?>
            <a href="<?php echo url('api/Author/thirdLogin',['type'=>'qq']); ?>" id="qq" style="color: #10A8FF;"><i style="font-size: 40px" class="layui-icon layui-icon-login-qq login-icon ml20"></i></a>
            <?php endif; ?>
            <!-- <a href="<?php echo url('api/Author/thirdLogin',['type'=>'weibo']); ?>" id="weibo" style="color: #D8271E;"><i class="layui-icon layui-icon-login-weibo"></i></a>-->
        </div>
        <?php endif; ?>
    </form>
    <div class="hui-common-title user-reg" style="margin-top:15px;">
        <div class="hui-common-title-line c-f662f"></div>
        <a href="<?php echo url('index/user/reg'); ?>" class="hui-common-title-txt c-f662f">没有账号？注册</a>
        <div class="hui-common-title-line c-f662f"></div>
    </div>
</div>
<div class="hui-slide-menu" style="width:210px;">    <div class="hui-list">        <ul>            <li>                <a href="/">                    <div class="hui-list-text">                        <div class="hui-list-text-content" style="color:#fff;">首页</div>                        <div class="hui-list-info"><span class="hui-icons hui-icons-right"  style="color:#fff;"></span></div>                    </div>                </a>            </li>            <li>                <a href="<?php echo url('index/course/videoindex'); ?>">                    <div class="hui-list-text">                        <div class="hui-list-text-content" style="color:#fff;">录播课程</div>                        <div class="hui-list-info"><span class="hui-icons hui-icons-right"  style="color:#fff;"></span></div>                    </div>                </a>            </li>            <li>                <a href="<?php echo url('index/course/liveindex'); ?>">                    <div class="hui-list-text">                        <div class="hui-list-text-content"  style="color:#fff;">直播课程</div>                        <div class="hui-list-info "><span class="hui-icons hui-icons-right"  style="color:#fff;"></span></div>                    </div>                </a>            </li>            <li>                <a href="<?php echo url('index/classroom/index'); ?>">                    <div class="hui-list-text">                        <div class="hui-list-text-content"  style="color:#fff;">班级课程</div>                        <div class="hui-list-info"><span class="hui-icons hui-icons-right"  style="color:#fff;"></span></div>                    </div>                </a>            </li>            <li>                <a href="<?php echo url('index/article/index'); ?>">                    <div class="hui-list-text">                        <div class="hui-list-text-content"  style="color:#fff;">行业资讯</div>                        <div class="hui-list-info"><span class="hui-icons hui-icons-right"  style="color:#fff;"></span></div>                    </div>                </a>            </li>            <li>                <a href="<?php echo url('index/teacher/index'); ?>">                    <div class="hui-list-text">                        <div class="hui-list-text-content"  style="color:#fff;">名师风采</div>                        <div class="hui-list-info"><span class="hui-icons hui-icons-right"  style="color:#fff;"></span></div>                    </div>                </a>            </li>        </ul>    </div></div><script src="/static/libs/layui/layui.all.js"></script><script src="/static/libs/common/jquery.min.js"></script><script src="/static/libs/common/common.js"></script><script src="/static/libs/hui/js/hui.js"></script><script src="https://cdn.bootcss.com/stickyNavbar.js/1.3.5/jquery.stickyNavbar.min.js"></script>
</body></html>